﻿<UserControl x:Class="WTwitter.View.AccountInfoView"
    xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml">
    <Grid>
		<Grid.ColumnDefinitions>
			<ColumnDefinition/>
			<ColumnDefinition/>
		</Grid.ColumnDefinitions>
		<Grid.RowDefinitions>
			<RowDefinition/>
			<RowDefinition/>
			<RowDefinition/>
			<RowDefinition/>
		</Grid.RowDefinitions>
		<TextBlock Grid.Row="0" Grid.Column="0">User</TextBlock>
		<TextBlock Grid.Row="0" Grid.Column="1" Text="{Binding Path=AccountUserName}"/>
		<TextBlock Grid.Row="1" Grid.Column="0">API制限/１時間</TextBlock>
		<TextBlock Grid.Row="1" Grid.Column="1" Text="{Binding Path=HourlyLimit}"/>
		<TextBlock Grid.Row="2" Grid.Column="0">API制限残り</TextBlock>
		<TextBlock Grid.Row="2" Grid.Column="1" Text="{Binding Path=RemainingHits}"/>
		<TextBlock Grid.Row="3" Grid.Column="0">API制限リセット</TextBlock>
		<TextBlock Grid.Row="3" Grid.Column="1" Text="{Binding Path=ResetTimeDisplayString}"/>
	</Grid>
</UserControl>
